import React from 'react';
import { Router, Route, Switch } from 'dva/router';
import Index from './page';
import 'antd-mobile/dist/antd-mobile.less';
function RouterConfig({ history }) {
  return (
      <Router history={history}>
        <Switch>
          <Route path="/"  component={Index} />
        </Switch>
      </Router>
  );
}
export default RouterConfig;
